<%@page import="java.util.List"%>
<%@page import="com.auto.oa.org.service.OaOrgServiceFactory"%>
<%@page import="com.auto.oa.sys.common.SysConstanct"%>
<%@page import="com.auto.oa.org.domain.OaOrgArea"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%
String result = "<option value=''>-请选择-</option>";
String auarParentGuid = request.getParameter("auarParentGuid");
OaOrgArea oaOrgArea = new OaOrgArea();
oaOrgArea.setAuarParentGuid(auarParentGuid);

List<OaOrgArea> list = OaOrgServiceFactory.oaOrgAreaService.queryListOaOrgArea(oaOrgArea);
for (OaOrgArea oaOrgArea2 : list) {
	String id = oaOrgArea2.getAuarGuid();
	String name = oaOrgArea2.getAuarName();
	result += "<option value='"+id+"'>" + name +"</option>";
}
%>
{
"result": <%=result %>
}
